/**
 * Program   :   ObjectConvertException.java
 * Author    :   shadow guo
 * Create    :   2013-6-7 下午6:27:25
 *
 * Copyright 2008 by Tongfu Information Technology Co. Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of Tongfu Information Technology Co. Ltd. ("Confidential Information").  You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with Tongfu Information Technology Co. Ltd.
 * 
 */
package com.tongfusoft.exception;

public class ObjectConvertException  extends RuntimeException{
	/**
	 * 错误信息编号，记录到资源文件中。
	 */
	protected String errMsgCode;
	
	public ObjectConvertException(){
		
	}
	
	public ObjectConvertException(Exception e){
		super(e);
	}
	
	public ObjectConvertException(String msg){
		super(msg);
	}
	
	public ObjectConvertException(String message,String code) {
		super(message);
		this.errMsgCode = code;
	}
	
	public ObjectConvertException(Throwable cause,String code) {
		super(cause);
		this.errMsgCode = code;
	}
	
	public ObjectConvertException(String message, Throwable cause,String code) {
		super(message, cause);
		this.errMsgCode = code;
	}

	public String getErrMsgCode() {
		return errMsgCode;
	}


}
